Sample game application HTML5 canvas