JavaScript form validation improved - regexp tests!