Fix AJAX when mounted with prefix

skeleton template defines SITE_ROOT as inline js.
The rest (js) remains static files.