Basic image editor based on HTML5 canvas