Miscellaneous cleanup

@jdimond - please review and merge.

Hat-tip to @mikepugh for the inspiration for both of these items. I especially like the `catch()` addition to the test suite, Mike!
Nope, I just dropped the ball on the whole JSDoc compliance thing. I just pushed fixes for everything after finally reading their docs!