HTML5 Canvas is just a drawing plane and there is no display list. To add, remove, place objects using x,y and other properties first you need to define classes for containers and objects that can be added to the containers. Either you have to develop it yourself or you can use any one of the libraries available.
A few months before I also started developing one library for the same purpose. I faced a lot of performance issues, so waiting for some free time to optimize my code. You can find the library here https://github.com/tracevipin/exsprite and some demos here http://www.exsprite.com/demos/