The error is quite clear. Check all the available properties of Classname[0]. You can use your console to see all the properties contained for Classname[0]; I am sure there is no removeEventListener