removes style and script