widgetId = grecaptcha.render('componentId', {
  'sitekey' : 'yourKey',
  'callback' : onSubmit
});
Rerun