added method to remove scripts from scraped pages