update RTL styles of JMS gadget