code: public JavaScriptResourceReference[] getJavaScriptResourceReferences() {
          final List<JavaScriptResourceReference> resources = new ArrayList<JavaScriptResourceReference>();
  
          for (final String resource : jsResources) {
              if (!resource.startsWith("//") && resource.startsWith("http")) {
                  resources.add(new JavaScriptResourceReference(getResourcesRootClass(), resource));
              }
          }
          return resources.toArray(new JavaScriptResourceReference[resources.size()]);
      }
docs: Get a list of JavaScript resources to include on the default page.
  @return the list of JavaScript resources