Revert "remove html event handler"

This reverts commit 72196574e4c9212a320c6e4f7f49a0f062725260.