fixed all css bugs from MathJs