Store element-specific options in data attributes. Closes #7