Some JavaScript to play Cookie Clicker fairly optimally