white spaces should not be validated as a number

I was reading [this](http://stackoverflow.com/questions/18082/validate-numbers-in-javascript-isnumeric/1830844#1830844), and it got me thinking that we have a weak link there with our number conversion (white-spaces).