Playing around with html5's canvas element