added jQuery.cookie dependency