Fixing an omission in isArray that was making the code fail under IE