all JS in application.js
change from coffeescript