This javascript code provides an automated play of Orteil's cookie clicker game (http://orteil.dashnet.org/cookieclicker/) as of v. 1.0411. The bot does not cheat in any sense. It does not add extra cookies, generate extra golden cookies/reindeeer, etc. In fact, it does not play in the most efficient manner due to internal randomness. Its main goal is to react to changes in the game and try to progress further in baking more cookies.