Load local jquery and jqueryui only for mw versions prior to 1.17.