Box editor component using jquery and kineticjs