HTML5 with Canvas based puzzle game