Cleanup: whitespace and JSDoc comments.