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.
I'd remove it as none of the uses here are spare arrays.