PortalKit: add new feature to load staticJS in DynamicLoad