fix issue with jasmine version + improve jsdoc