Reset items cache. Fixed JSLint errors