simple demo for html5 canvas