move aabb.js into util