$.ajax({ url: 'js/myHelperFile.js', async: false, dataType: "script", }); myHelperFunction();
$.getScript('js/myHelperFile.js').done(function () { myHelperFunction(); });