overleaf/services/web/frontend/js/directives/autoSubmitForm.js