Pass element to eventListener help function