Some test of canvas with javascript