modify js to work with turbolinks