Add canvas element and ocanvas init code.