Concrete is a lightweight Html5 Canvas framework that enables hit detection, layer support, pixel ratio management, exports, and downloads.
concretehtml5canvas2dgraphicsjavascript
http://www.concretejs.com