update toArray method to avoid String.split with regex which doesn't work in IE8
 * trap indexOf failures to avoid console errors in IE8
Merge branch 'ie-support-fixes' into dev