switch to jshint, commit dev config and genkeys.go, fix some lint errors, etc.