use data attribute on script tag to use a variable name other than obj