Only load jQuery UI resources when required

This adds an additional request but on the pages where jQuery UI is needed.  Which is better than loading it on every wiki page.