Check If Object Array Includes W3schools Javascript Events On Input