[js]: Clear form after export