1var someEventHander=function(){
2 console.log("do something");
3}
4var handlerCopy=someEventHandler.bind(var1,var2)
5//add listener
6document.getElementById("someid").addEventListener('click',handlerCopy,true);
7//remove listener
8document.getElementById("someid").removeEventListener('click',handlerCopy,true);