addition of javascript cookies