accept options as data- attributes, too