When the window resizes, explicitly resize the map in the .js.