removing unused styles and removing html escaping for handlebars