Stripping down the code on the map page to the essentials.