Fix trips js