Using view with kineticjs.