Cleaning up some code with HTML-Inspector (https://github.com/philipwalton/html-inspector)