using s(0) instead of hardcoded s0

Its more maintainable (changing the definition of s breaks things without this change).
Note: I don't know what ```generateCacheFooter('s0')``` does and the s0 in there looks suspicious to me