Fixed .on() and .off() bug

- Had been using document.addEventListener when
element.addEventListener was more appropriate