Testing a port from cairo graphics to html5 canvas