fixed lib dependencies and cookie-stuff, which had apparently somehow changed in the javascript-land...