fixed all jslint errors and maintains 2 space indentation
support for cached geoNear