You use $.map here and Array.prototype.map in the parseExtent function. It would be better to consistent.