    styleElm.appendChild(document.createTextNode(styleMarkup.join('')));
                        }
                    }
                }
            } else {
                if (!channelsCalled) {
                    loadChannels();
                }
            }
        };
        
        return {
            init: init,
            RenderCloudVideo: RenderCloudVideo,
            RenderMediaPlayer: RenderMediaPlayer,
            SearchJSBridgedCallback: SearchJSBridgedCallback,
            loadChannels