replaces iframe with object tag