Create and view procedurally generated dungeon with HTML & Javascript