A small in-memory cache written in javascript