Execute custom JavaScript code after Webform has been submited with Webform Ajax Module
Okay, try this. After the ajax request is completed on "#myform", it runs the function.

$("#myform").bind('ajax:complete', function() {

     // tasks to do 


});


Source | API Documentation