Sextant removed, it's build in Rails 4.
Fix for path to locales.
Set action and controller in gon on each request.
Set action's name to evaluate the script on the specific page, global vars removed.
Small refactoring.
Js refactored to load on specific pages.
Refactoring to keep code in functions.
Refactoring to keep code in functions.
Refactoring: keep code in functions and use gon to load page-specific js.
== and != to is and isnt.