Numeric validation

Today I learned that javascript is weird...
![screenshot 2014-02-05 12 20 32](https://f.cloud.github.com/assets/1932485/2087715/bae90284-8e70-11e3-95fa-0f07b626bdb3.png)