fix turbolinks javascript issue