A simple AVL Tree and Max(Min) Heap library which works in both client side and server side with no dependency