I installed the Chosen module and it is conflicting with my JavaScript code. That module gets loaded on every page, even if there is no select box on the page. It is definitely unnecessary to load the files from that module when they are not necessary at all.
What I want to do is modifying the module to only load on certain pages.
How should I go about doing this? What function do I have to call or look for within that module?