Fix spacing. Add jsdoc