adding mail/phone validators and some dom stubs