js: alpha numeric string pattern test