html5 + js = draw lines. First experience with canvas