Fixed a turbolinks/javascript issue