remove use of instanceof

Using ko.utils.isArray instead of instanceof Array - it's a better fix than in https://github.com/knockout/knockout/pull/1465