Fix AJAX when mounted with prefix

skeleton template defines SITE_ROOT as inline js.
The rest (js) remains static files.
Merge branch 'mountable-with-prefix' into deployment