about to refactor home.js.coffee