adds missing vArg reference to isArray check

Before I saw that I had to add the es5 compatibility for ie8, this was throwing an error.