B+ tree JavaScript implemetation