Rewrite lamps.js to coffeescript
Refactor main.js
Remove marked package