Well, it's not just the golden cookies that was updated.
is active, one of its visual effects is the image smallCookies.png
falling from the top of the screen. On top of that, if you bought any flavored cookie upgrades, their respective icons will fall from there as well.
Here's the code that checks this:
//Found at line 3873
for (var i in Game.Upgrades)
if (cookie.bought>0 && cookie.pool=='cookie') cookies.push(cookie.icon);
I want to know what's going on here. Can anyone explain how the code works?