Create canvasMgr.js