### MathJax stopped working

I created a couple of commands and realized they produce no output. If typesetting is turned to false, then the output is produced. When I go to the print tab, I get the following error:

```
File failed to load: localhost:8080/javascript/mathjax/jax/output/SVG/config.js
```

Why did it suddenly stop working?

I'm using Linux Mint 17.2, used the sagemath-upstream-binary package from the PPA. I'm using the Sage notebook. My commands are

```
x = var('x')
w = x^4 - (1+3*i)*x^3 - (2-4*i)*x^2 + (6-2*i)*x - 4 - 4*i
p = x^4 + (1-3*i)*x^3 - (4+3*i)*x^2 - (4-2*i)*x + 2*i
solve(w,x)
```

I tried using Jupyter but I get the following error while creating a ~~notebook:~~notebook in Jupyter:

```
Failed to retrieve MathJax from '../nbextensions/mathjax/MathJax.js'
```

although I have MathJax installed locally in /usr/share/javascript/mathjax and in /usr/lib/sagemath/local/share/mathjax