Checking instanceof Arrays cross frames. fix #1195

Using the instanceof Array method will not work for arrays created on another frame,
Instead of instanceof we should use Array.isArray, but this is not supported on IE8.
So vjs.obj.isArray shim was created for the isArray method.