An experiment with Javascript and Canvas