Fixed behavior in browser with mocha-1.9.0