Fixes IE8 and IE7 support: they do not support Array.isArray().