If you want to run some custom logic on some pages, then rather than customizing it in some OOB /libs clientlib, I think you would be better off creating a new clientlib and loading it on your pages as per your requirement.If you override the OOB clientlib and then load it on certain pages rather th...