Please try these:-
Option 1 :-
1) Create your own client library "mylib" in /etc/designs or /etc/clientlib
2) Embed all required client libs
3) Add the <cq:includeClientLib categories="mylib" /> at the beginning of the page rendering process.
4) Check the generated HTML for inclusion of clientlibs. If there are more clientlibs loaded as this "mylib", modify your embed definition and go tostep 2.
Option 2:-
Provide your own prototype function for some buggy implementation, then you can simply provide this in your clientlibs and make the original clientlibs as your dependency. This will ensure to load your clientlibs later, so the new implementation would be patched in.
Thanks and Regards
Kautuk Sahni
Kautuk Sahni