objs = document.getElementsByTagName("object");
for (var i = 0; i < objs.length; i++) {
    objs[i].outerHTML = objs[i].outerHTML;
}
