this is a html5 canvas test code.