support for ie6+
Merge github.com:shepherdwind/bidi