In the code below,
body.on(event, bindSelector, callback);
I passed callback as reference to this function (kit.callback.renderPage).
I want (kit.callback.renderPage) to accept arguments as well. How do I pass maybe an object as argument from init() function below?
jQuery(document).ready(function($) { 
    (function(send, config) {
        var kit = {
            selectors: {
                "body": "body",
                "start": "[data-ckit-toggle-on]"
            },
            callback: {
                 renderPage : function() {
                    console.debug('opt');
                 }
            },
            getSelectors: function(selector) {
                return $(selector);     
            },
            init: function() {
                kit.bindNow(
                    kit.events.chatToolbar,
                    kit.selectors.body, 
                    kit.selectors.start, 
                    kit.callback.renderPage
                );
            },  
            bindNow: function(event, bindTo, bindSelector, callback) {
                var body = kit.getSelectors(bindTo);
                body.on(event, bindSelector, callback);
            }
        };
        //starting point
        kit.init(); 
    })(interface, settings);
});
 
    