docs; near/nearSphere
fixed; strict mode warning

closes #1686