Maze generation tool using multiple maze algorithms in javascript