Remove on... event handlers from elements

This allows smoke/interactive/error79559324.html to work correctly.
[Delivers #79559324]