Not sure this is needed; `var styleCache = [];` instead?