How To Find String In Array Javascript Mdn Addeventlistener Is Not A Function