implementing new dom interface to accommodate the virtual client-side
dom