get rid of EventHelper and HTML5 style fixes