domCache saved as json not global var
Merge pull request #2 from Greenfields/domcache-script

domCache saved as json not global var