Cleaned up, added html example