change html to text for script script