lintfix, handleEvent, and remove html dependency