HDParams beautified and jsdoc'd

Is this OK? https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error