slider puzzle game in js