added html tidy awesomeness