attachEvent call does not work in Chrome
Steps to Reproduce
1. Use attachEvent() and run the scenario in chrome.
The root cause of this problem is software use/operation error.
attachEvent() function does not work in chrome. Use addEventListener() api instead.