three.js
raycaster -
three-mesh-bvh
See
main project repository
for more information and examples on high performance spatial queries.