isArray() in ECMAScript < 5