change paramenters for ajax request for near points
change method of getting parameters in NearPoints view