session code. remove obsolete cookies.js