Wrap MathJax Queue calls to catch error when LO running offline - MathJax wont work offline...

Signed-off-by: JohnSmith-LT <J.J.Smith@gcu.ac.uk>