As per AEM standard practice you do not try to load resources from /var folder. Normally, content get's served either from /content or /etc folders.
1) Your website runs from browser or any REST interface
2) Your AEM webserver serves your browser CSS,JS(both loaded from client lib) and HTML.
3) Your browser loads these resources and tries it's best to render them as best as it can.
To your question, with the "var e="assets/panels.html #". It most likely depends on what you are instruct your browser to do with your javascript.
Regards,
Peter