removes unnecessary classes from html, standardizes quotation marks in javascript