If you don't know about `$.extend`: http://api.jquery.com/jquery.extend/

Maybe something like:

```javascript
var defaultOptions = ...
var dataOptions = ...

options = $.extend(defaultOptions, {
    ...
}, dataOptions, options);
```

What do you think?