Add deadline method to trip.js and remove turbolinks