This should be tied into the HTML module constructor, so that it activates if/when an HTML module is put onto the page after page load (for instance, when inside a sequence module).