Remove styles too, and improve nonscript removal.