put point box and quadtree classes into same file
add conditional export statements for use as npm module or in browser
add unit tests for equals function
make small style changes to make linter happy