have to define isNumber before _.each will work in IE
(cherry picked from commit 6554c6d9762d71c056d573fabf0ead967a75b308)