index.js: removed iife
quotes and whitespace style fixes
login: added sequence of login requests from Jeffrey Mealo
trip: handle request err, handle json parse err
new replay fixtures for example and test