moving inline js to home.js.coffee