It's MVC isn't it?
Out of my league...
Perhaps this is any help :
http://stackoverflow.com/questions/926075/mvc-dynamic-routing-unity-determine-if-current-controller-exists-in-global-asaChange the zones for your question then to at least ASP.NET and (if available MVC)
NB $ isn't any different than jQuery. They should both work.
I don't get any errors at the start...