Shouldn't it be `logs = self.jQuery.extend({}, self.extras, {logs: logs});` in order to avoid having `self.extras.logs`?