remove html head, body, and script tags