updated code docs
added jsdoc dev dependency