Javascript Check If Array Contains Elements Of Another Array In Java