JavaScript Mazes