updated for minified html