don't test for array using Array.isArray since this isn't support by IE8