Added shim for Array.prototype.indexOf() so mocha.js will run in IE7/8