jsdoc docs, lint, remove dead code
0.4.5