Geomap: Code cleanup and optimization including removing instances of $.each

Also removed tfoot from tables since duplicative (identical to header) and contrary to best practices.