JavaScript: Util checkMail