Updated engine.js ocanvas object