change unload order

After calling *map.remove()* I tried to initialise a new map on the same DOM element  , after *map.on('unload')*, and came up against **''Uncaught Error: Map container is already initialized."**

I found that by firing 'unload' at the end of *remove()* I can achieve this.