hidden-tiles game using javascript and CSS3