Updated dependencies
alert box only with document.cookie
Refactoring