A simple html5 canvas rendering engine