test sample. html5 canvas javascript