Please change this to `($this->enableCompression && $this->blockedScripts!==array())` to only call this if necessary.