title: Kinetic JS framework : Drawing rectangle
body: <pre><code>var stage = new Kinetic.Stage({container:'container',width:500,height:500});
  var Layer = new Kinetic.Layer();
  var myRectangle = new Kinetic.Rect({x:100,y:30,width:100,height:50,fill:"red",stroke:'black',strokeWidth:3});
  Layer.add(myRectangle);
  stage.add(Layer);
  </code></pre>
  
  <p>this code must show a rectangle in the div with id "container" but nothing shown in the page.</p>