static initializan method for web components called before registration