bar{x} doesn’t work in latex. It is \bar{x}. In jsxgraph text latex commands needs two backslash: \\bar{x}, or three, \\\bar{x} if you d’int use the parse:false option.
I’ll try
<script type="text/x-mathjax-config">
MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
</script>
brd.create('text',[-4,15, ‘$ \\bar{x} $`], {useMathjax:true, parse:false});
Javier