Set async to false at report.datacontext.js.