Javascript Check String Against Regex For Name