beter router
convert home.js from coffeescript to js