How to do you modify the URL created by a module?
These are just hints to help yourself:


Take the Theme developer module, and check what functions are involved in putting the URL together.
Set a break point inside the l() function just before theme('jl_custom_category_list', array('vid' =&gt; 3)) gets executed. The stack should show you the code building the URL.