Backbone.Model.prototype.base = Backbone.Collection.prototype.base = Backbone.Router.prototype.base = Backbone.View.prototype.base = function (funcName) {
	return this.constructor.__super__[funcName].apply(this, _.rest(arguments));
};

$log = function (obj) {
    try {
        if (arguments.length > 1) {
            var msg = '';
            for (var i = 0, nL = arguments.length; i < nL; i++) {
                if (arguments[i] != null) {
                    msg += ' arguments[' + i + ']: ' + arguments[i].toString();
                }
            }
            console.log(msg);
        } else console.log(arguments[0]);
    }
    catch (e) { }
};
