Remove globals from HTML code.