docs($cookies): update examples to use modules