An most-recently used queue for JavaScript.