An in-memory b-tree written in JavaScript