Simple labyrinth JS game