Allow options to be defined by data attributes
Merge pull request #397 from dfisch/master

Allow options to be defined by data attributes.