Bugfix

fixed JS side form validation for number inputs so that it works in
firefox and IE