Add `poly/array` as we're using `.reduce`
Fix IE6 bug where string chars cannot be accessed by index (you have to use `.charAt`)