Undid modifying Array.prototype and switched to a for-in loop for listeners