Cleaned up cookie-JavaScript and generated markup. Added methods for handling and parsing cookies on the server.