Bug/turbolinks

## Refactor JS
- remove `$ ->` wrapper since no JS conflict
- assign script variables in `page:change` event for turbolinks
- minor tweaks such as removal of unnecessary parens