HTML5 deployment issues

Tried exporting my current working project and it gets a perpetual loading screen. So threw together a quick sample project to make sure that worked. And it did EXCEPT I found a map linking issue since I had deleted the original "world" map but it apparently is somehow a ghost in the project somewhere. With a normal Windows deployment the map linking works fine but with HTML5 it does not. I copied the map that was getting replaced with the original "world" map and set the links back up and now that sample works properly. I'm suspecting that's a big part of my working project's issues with the deployment since I got rid of that map at the early stages of that project. My big question at this point I guess is how can the map IDs be normalized since once you delete that original first map another one gets map ID 1?????

Original thread: https://forums.rpgmakerweb.com/threads/html5-deployment-issues.124296/