use underscore.js isNumber instead of isNaN to determine if value is a number.