               alert('Notifications cleared')
                        });
                }
            };
        
            function sendMessage()
            {
                if(window.plugins && window.plugins.OrtcPushPlugin){
                    var OrtcPushPlugin = window.plugins.OrtcPushPlugin;
                    var channelSend = document.getElementById('channel');
                    var messageSend = document.getElementById('channelMsg');
                    OrtcPushPlugin.send({'channel':chan