Puzzle collection game in html5