moves to avoid using innerHTML in the content script