Fix hta's problem that not working addEventListener