javascript/jQuery project creating a sketchpad