Hi Jan,
I moved the code to “onAfterUpdateComments” callback, and it works. A big thank you from Beijing 🙂
I added the following code in the end of formSubmitHandler:
jQuery(function($) {
$.getScript('External_JS_File_Path.js', function() {});
});
it somehow worked. Not sure if it is an acceptable solution.