Fix for IE7 Array.isArray() problem.

IE7 doesn't support Array.isArray(). Use object.prototype instead.