Using the html5 canvas element