IE browsers up to IE8 do not support addEventListener (I’m assuming you meant the latest version you have when you said Internet Explorer Last version). attachEvent is the IE equivalent (well, not exactly equivalent).
If your target browser is only IE8, you can just replace the addEventListeners with attachEvent calls, but a better option (seeing that you already seem to have jQuery) have be to change these to jQuery .bind (or .on if you have a later version of jQuery)
solved Javascript functions and IE error addEventListener JQuery