Wait for requests to finish before running the ace JS
Wait for requests to finish before running the ace JS

Closes #36191

jirutka/gitlabhq,stoplightio/gitlabhq,mmkassem/gitlabhq,mmkassem/gitlabhq,dreampet/gitlab,axilleas/gitlabhq,mmkassem/gitlabhq,iiet/iiet-git,stoplightio/gitlabhq,mmkassem/gitlabhq,stoplightio/gitlabhq,axilleas/gitlabhq,dreampet/gitlab,t-zuehlsdorff/gitlabhq,stoplightio/gitlabhq,jirutka/gitlabhq,axilleas/gitlabhq,dreampet/gitlab,iiet/iiet-git,iiet/iiet-git,dreampet/gitlab,t-zuehlsdorff/gitlabhq,iiet/iiet-git,axilleas/gitlabhq,jirutka/gitlabhq,t-zuehlsdorff/gitlabhq,jirutka/gitlabhq,t-zuehlsdorff/gitlabhq