a skiplist implementation in javascript