Change jquery cookie to submodule