Visual editor based on html5 canvas