fixed a bug where jquery.cookie is not loaded