Building out map page client side code