THRIFT-4064: update node dependencies

This closes #1359
diff --git a/lib/js/Makefile.am b/lib/js/Makefile.am
index 9a27e9d..181e15e 100644
--- a/lib/js/Makefile.am
+++ b/lib/js/Makefile.am
@@ -23,5 +23,6 @@
 
 check-local: all
 	npm install
+	npm list
 	./node_modules/.bin/grunt
 
diff --git a/lib/js/package.json b/lib/js/package.json
index 4b693bb..edb2ba6 100644
--- a/lib/js/package.json
+++ b/lib/js/package.json
@@ -4,12 +4,16 @@
   "devDependencies": {
     "grunt": "^0.4.5",
     "grunt-cli": "^1.2.0",
-    "grunt-contrib-uglify": "^1.0.1",
+    "grunt-contrib-concat": "^1.0.1",
     "grunt-contrib-jshint": "^1.0.0",
     "grunt-contrib-qunit": "^1.2.0",
-    "grunt-contrib-concat": "^1.0.1",
-    "grunt-jsdoc": "^2.0.0",
+    "grunt-contrib-uglify": "^1.0.1",
     "grunt-external-daemon": "^1.1.0",
+    "grunt-jsdoc": ">= 2.1.1",
     "grunt-shell": "^1.3.0"
+  },
+  "dependencies": {
+    "jsdoc": "<3.5.0",
+    "nopt": "^4.0.1"
   }
 }