Fix jsdoc version in package.json to work with npm 2.x.y.

Fixes #5340
Use the tilde (~) consistently in package.json

Closes #5407
Merge pull request #5407 from mzgol/package.json-update

Package.json update