check-system.sh added npm global installation of mocha and jsdoc