HTML5 friendly number box