var CacheOperat = { Add: function (selcector,name) { cache[name] = document.querySelectorAll(selector); }, remove:function (name) { var rem = cache[name]; rem.parentNode.removeChild(rem); cache[name] = null; } };