Adding in DOMLayer prototype
Adding debug flag on DOM unit test