replace data attribute in <object> tag