Creating a drawing tool form JavaScript and jQuery