Fixed jsdoc and style issues