a simple slider puzzle game, procedural javascript