working on number box validation for non-supported browsers