A versatile LRU memoization function for Javascript which uses a circular doubly linked list as the cache's data structure