Update maze.js