Make a bunch of event stuff SmartHTML