Enhance scripts to detect if we're missing mocha or jscoverage