Made js run after turbolinks load

Because of turbolinks, clicking a link to another page wasn't running
the javascript.