Convert $.map to native arr.map

No need for a jQuery wrapper.