Fix AJAX when mounted with prefix

skeleton template defines SITE_ROOT as inline js.
The rest (js) remains static files.
Merge pull request #9 from thedod/mountable-with-prefix

Fix AJAX when mounted with prefix