coffeescript version of thie highly configurable plugin pattern - http://markdalgleish.com/2011/05/creating-highly-configurable-jquery-plugins/