puzzle blocks in html5 javascript!