If you are using v8.1.0.6, and your site has activated SSL, as well both xssl and xmysite value is different,
your side categories (or JS files) will not be able to be loaded because of browser crossing policy owner, plese do the following changes:
1. Open shop$db.asp using notepad or text editor.
2. Locate below code (estimate on line 4155)
sub generatebaseurl
'800 - 2016.12.22 - Bug Fix: JS script not loading properly on non-ssl site if xssl contained value (Bugs on v8.1.0.6)
htmlwrite "<base href=""//"& request.ServerVariables("HTTP_HOST") & xmysite2 &"/"" />"
exit sub