remove sketchjs and add drawing function for canvas