var Fancy = {
settings: {
something: 'one',
somethingElse: 'two'
},
init: function(options){
var s = $.extend({}, this.settings, options);
}
}
Call it like so:
Fancy.init({something: 'Luke', somethingElse: 'Wroblewski'});
That's one way to do it anyway.