Amber's html5 canvas