RTL stuff done right

According to http://www.w3.org/TR/html401/struct/dirlang.html#h-8.2.3
Works in firefox 22.0 and chrome 28.0