Expression evaluation with math.js, pretty printing with MathJax

Expression
Pretty print
$$$$
Result
Parenthesis option: keep auto all