JSDoc comments

This PR converts `//` block function comments to JSDoc style.  Comment contents are convert as-is.