Paint app using javascript done in html 5 canvas