fix mocha compiling in package.json