var name = "jsEnabled";
var value = "true";
var path="/";
document.cookie = name + " = " + value + "; path = " + path + ";";