Run Locations.syncHeights() (JavaScript) whenever the window is resized