handle turbolinks loading javascript