publish: fallback to jQuery.getScript if we dont have require

generated from commit 1c1a9fa37dbfaefaee58bc6d05d2af6ffb97f37f