code: public static void replaceJQueryReference(final WebApplication application,
  		final String cdnjsUrl)
  	{
  		application.getJavaScriptLibrarySettings()
  			.setJQueryReference(new UrlResourceReference(Url.parse(cdnjsUrl)));
  	}
docs: Replace the default jquery resource reference from the given application with the given cdn
  url.
  
  @param application
  the WebApplication
  @param cdnjsUrl
  the given cdn url.