Artisan JS is a JavaScript library which focuses on easing in-browser drawing using HTML5 canvas.
It offers simpler and shorter-to-write functions for creating and styling objects.
Most importantly, the library enables using every object like a layer which canvas doesn’t have by default. So you can add shapes to a layer anytime.
Also, a stacks feature helps grouping layers to control them better ( here is an article on layer and stack usage).
P.S. Artisan JS is a standalone library that doesn’t require an JavaScript frameworks.
Compatibility: All Modern Browsers
Website: http://artisanjs.com/