Improved chatbox style. Updated jquery cookie and jquery ui.

Fixed js error on dashboard page if no cookie is found.
Use cookies only until end of session. For dashboard cookies use url /dashboard only.