Update cache invalidator for js