Rewrite js app to coffeescript
Rewrite templates