switch from vanilla JS to coffee and refactor
Merge branch 'refs/heads/coffee-rewrite'