re-indented routes to 2 spaces per tab, removed jslint errors where possible