This is a simple JavaScript cache buffer aka Bucket