Rect drawer demo using KineticJS