Fix invalidEmail js