Draw polygons and rectangles on a HTML5 canvas reactivly