fixing isDomElement, which blew up when passed a null
fixing isDomElement, which blew up when passed a null

Anmo/Ink,pedrocorreia/Ink,pedrocorreia/Ink,birthdayalex/Ink,pkdevbox/Ink,sapo/Ink,rcarmo/Ink,Anmo/Ink,birthdayalex/Ink,pkdevbox/Ink,sapo/Ink,mubassirhayat/Ink,pkdevbox/Ink,sapo/Ink,mubassirhayat/Ink,Anmo/Ink,pedrocorreia/Ink,birthdayalex/Ink,rcarmo/Ink,rcarmo/Ink