if (!resultsLocation.startsWith("/"))
resultsLocation = "/" + resultsLocation;
String fileUrl = serverUrl + resultsLocation + "/" + fileName;
Map<String,Object> page = new HashMap<>();
page.put("title", title);
<BUG>page.put("libURL", nglJsUrl);
page.put("jsURL", webappRoot + "/" + EPPIC_NGL_JS_FUNCTIONS);
page.put("fileURL", fileUrl);</BUG>
page.put("jsVariables", jsVariables);
page.put("maxEntropy", String.format("%.4f",maxEntropy));

if (!resultsLocation.startsWith("/"))
resultsLocation = "/" + resultsLocation;
String fileUrl = serverUrl + resultsLocation + "/" + fileName;
Map<String,Object> page = new HashMap<>();
page.put("title", title);
page.put("libURL", nglJsUrl);
if (!webappRoot.endsWith("/")) webappRoot = webappRoot + "/";
page.put("jsURL", webappRoot + EPPIC_NGL_JS_FUNCTIONS);
page.put("cssUrl", webappRoot + CSSFILE);
page.put("fileURL", fileUrl);
page.put("jsVariables", jsVariables);
page.put("maxEntropy", String.format("%.4f",maxEntropy));
