array.prototype.map support
add karma support