remove dead code
convert remaining js files in lib to coffee
update editorconfig: Makefiles have tab indents