Fix django-pipeline incompatibility

We can't use partial filenames in {% static %} tag as pipeline immediately
tries to source the file on disk and throws an error when it can't be found.
Instead, pass the STATIC_URL setting through to the JS and build the URL
for language pack completely in JS.