Start porting the dungeon generator to js