Upgrading MathJax version to 2.4. Adding Tex fonts for correctly displaying of formulas locally. Removed unnecessary extensions. Disabled context menu in formulas.