Added "this" keyword to DOMNode variable replacement.