Correct small code issues in html.erb files

* Switch classes to use dashes instead of underscores
* Add new lines to the files that did not have them