Don't rely on Array.prototype.map

Seems like this is the only thing that makes https://github.com/visionmedia/mocha not work in older browsers.