Paint application using HTML5 and JavaScript