Fixed JSHint errors from recent pull request and updated jsdoc documentation URLs.