improve support to read options from script tag data attr - part 2