Chemistry of chocolate chip cookies