corrections in 'cookies' functions arguments
license & bugs info in the demo