Use toArray instead of isCollection
More IE-friendly testing
Automatically rewritten for npm.