added documentation for cookie widget