javascript and cookie updates.
added script name.