A JavaScript version of a sliding-tile puzzle.