it's been ages since I've written raw JS, but aren't you supposed to call event.preventDefuault() and event.stopPropagation()?