Rename the function of a jquery plugin to avoid duplicate function?

Rename the function of a jquery plugin to avoid duplicate function?

I want to use:  https://github.com/danielstocks/jQuery-Collapse/

But I'm already using a older version of it modifed by someone else for a certain purpose.



to rename the function from being  .collapse() to say .collapse_vanilla() or .collapse.vanilla()

And will renaming said function hinder the workings of  https://github.com/danielstocks/jQuery-Collapse/blob/master/src/jquery.collapse_storage.js ?