[feat/js] add .jshintrc and do some linting