getOptions should also work when element is not attached to DOM
update to toggle pattern

- name options is now attribute
- if jQuery.closest doesn't find any match then walk up the tree and and do
  search on every parent until/if match found
- preventDefault is only called on "a" element
iupdate compiled version of widgets.js