started on javascript octree implementation based off our c++ impl