A paint application using HTML5 canvas and javascript