Removing use of extra $vars
Adding missing sapces
Moving from using $GLOBALS[] to using define()
Just show GeoJSON not (P)