task5 rectangles on js done