Replace JSLint with JSHint
Docs correction, trivial
Add template id mapper