Fix issue with undefined pins
Work on $near function
Fix undefined call to user pins, more work on near
fix call to .length