sending over serialized dom content
update script refs