I want to remove that javascript tag I injected earlier before serving the document to the browser