Added heading classes to css for h1-h3, fixed javascript to add h1-h2 classes without destroying the parent element