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

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

Closes #5407