initial move of js to work with turbolinks