Fix #2533139
Remove all str[pos] character look ups with str.charAt(pos) for older IE
Caching arr.length and simplified the if conditional per ericf's suggestions.
Merge branch 'color-2533139' of git://github.com/apipkin/yui3 into apipkin-color-2533139
Update history.
Merge branch 'color-2533139' of git://github.com/apipkin/yui3 into apipkin-color-2533139
Build Color
Merge branch 'apipkin-color-2533139' into dev-3.x