merges new js script. removes data attribute and replaces with tcon class instead