Added jsdoc style comment and minor fixes