Added javascript cookie class.