Update loop-mocha.js