Add language direction to DOM