Submitting finished htmlbroom code

See: https://github.com/GigaOM/gigaom/issues/4979
i just tried switching it around and using the way described above breaks the functionality