apply portaljs sp features on community