fixed failing check in EventSource.noSuchMethod