Javascript code for validating mobile number