added cookie plugin for jquery