fixed the problem with the javascript, it was the turbolinks, now disabled