remove script tags from test page, in node context