THRIFT-4343: enable nodejs-8.x on ubuntu-artful image and update grunt-jsdoc
also fix a perl failure as we were using a deprecated language feature
in the cross test server for perl.
Client: nodejs, perl

This closes #1406
diff --git a/lib/js/package.json b/lib/js/package.json
index edb2ba6..526528d 100644
--- a/lib/js/package.json
+++ b/lib/js/package.json
@@ -9,11 +9,11 @@
     "grunt-contrib-qunit": "^1.2.0",
     "grunt-contrib-uglify": "^1.0.1",
     "grunt-external-daemon": "^1.1.0",
-    "grunt-jsdoc": ">= 2.1.1",
+    "grunt-jsdoc": "^2.2.0",
     "grunt-shell": "^1.3.0"
   },
   "dependencies": {
-    "jsdoc": "<3.5.0",
+    "jsdoc": "^3.5.5",
     "nopt": "^4.0.1"
   }
 }