Javelinas lose to Buffaloes in thriller