Javascript code for validating mobile number hbo dating series