Modify maze.js