fixed type error related to browser repl appending ifram before the body tag was rendered