Update persistentcache.js

Renaming a couple methods