Updates to consctructor to use underscore for detecting isNumber and isNaN