Fix preview and add pl_PL locale

This PR adds Polish locale and fixes TeX rendering in preview pane, which was mentioned at https://meta.discourse.org/t/mathjax-plugin-supports-math-notation-using-latex/12826/19?u=lidel