Changed Cache.jsm to RecordCache.jsm and adjusted code accordingly.