Allow options to be extended via data attributes

Fixes #23
Merge pull request #28 from markcarver/issues/23

Allow options to be extended via data attributes