updated js to exclude h1 tags from restyling on reload