Allow options to be extended via data attributes

Fixes #23