code: @Nonnull
    public static WebSiteResourceWithCondition createForJS (@Nonnull final IJSPathProvider aPP, final boolean bRegular)
    {
      return createForJS (aPP.getJSItemPath (bRegular), aPP.getConditionalComment (), aPP.isBundlable ());
    }
docs: Factory method for JavaScript resources.
  
  @param aPP
  The path provider.
  @param bRegular
  <code>true</code> for regular version, <code>false</code> for the
  minified/optimized version.
  @return New {@link WebSiteResourceWithCondition} object. Never
  <code>null</code>.