A simple set data structure for Javascript, implemented using AVL trees