Experiments with html5 and javascript