Removed comment in ComponentResource
Added method getBaseUrl to PortalUrlScriptBean