Update javascript form validation regular expression