code: public static ResourceReference getJQueryResourceReference()
  	{
  		ResourceReference reference;
  		if (Application.exists())
  		{
  			reference = Application.get().getJavaScriptLibrarySettings().getJQueryReference();
  		}
  		else
  		{
  			reference = JQueryResourceReference.get();
  		}
  		return reference;
  	}
docs: Looks for the jQuery resource reference. First we see if the application knows
  where it is, in case the user has overriden it. If that fails we use the default
  resource reference.