installed jsdoc and added a npm run-script docs target to build the documentation