Fixed bug where events were mixed up by the html script.