Added jquery.cookie.js, fixed the layout and cleaned up some code