A stupid simple caching mechanism for JavaScript objects.