Regular expression for validating numbers only in javascript