First stab at the HTML backend.