another compile mocha.js
output: make sure to propagate errCount through the end callback chain