Fix unit tests in IE7, IE8

latest mocha version did break the workaround present in the code.
Fix in now shared in smpl-build-js