Removed trailing spaces.
Cleanup of the jsdoc + comments from the review.