Support for old browsers without Array.isArray support