The version of JavaScript available to you will be dependent on the version of Trident (Internet Explorer) you have installed on your system.
Good old Microsoft; addEventListener was not implement on Internet Explorer 8, and indeed versions before that.
It's not a direct reflection of PHPEXE as far as I am aware, it's the version of IE.
You will need to consider that users will have older versions of IE, before using newer features or features that Microsoft didn't implement until much later.
There are alternative ways of achieving event listeners that will offer better compatibility. Are you familiar with JavaScript? If so, you should be able to work around this.
Regards