replace app.js and router.js with coffeescript files