number validation in javascript regular expression