rudimentary attempt at options object support. This is probably best done leveragein the jQuery $.widget factory though