pulled out lots of javascript

added showGeo