Added resetCanvas function to scriptdescarteshandler and descartescanvas.