Wait for scripts to be loaded to use them in new question QCM. Fix #164858
Fix delayed hint.js loading (#164858)