A data-attribute? IMO data-attributes are used to link datas to DOM elements, not to store global datas.
I suggest to create a global javascript variable with OC_Defaults datas.