Fix for routes.js bug

- Use `page:load` event, so that it works with Turbolinks
- Remove `script` tag from the route.html.erb template