Got simple sketch working using touch controls.
Use raphael sketch instead to draw line.
Send strokes to the server.
Allow only 1 line to be drawn and a next button to draw next line.