options can be specified via data-attribute on the loader element