Modify Array.prototype with map and filter if native implementations don't exist.