Initialize the javascript on page:load events (for Turbolinks)