ajax template, email regex