makefile: build proper docs, add hint and lint targets
package.json: add jslint and jshint as devdependencies