KeywordCloudPlugin to 3.2 Version of OJS

Hello, we were adapting the KeywordCloudPlugin and the function _cacheMiss does not working anymore. Can someone help us to identify something has changed of OJS 3.1 in relation to 3.2 version?
Here the original code that works fine on version 3.1:

And that is the code with our modifies, in this case, the funciont _cacheMiss doesn’t works: