Added deletion to the kdtree.js; generated test files