reCaptcha 2 in Vaadin

Hi, I would like to integreate the new Google reCaptcha in Vaadin. I executed the following code

@JavaScript({""}) public class MyUI extends UI { @Override protected void init(VaadinRequest vaadinRequest) { Label l = new Label(); l.setHeight("302px"); l.setWidth("76px"); l.setStyleName("g-recaptcha"); l.setId("captcha"); l.setVisible(true); Page.getCurrent().getJavaScript().execute("document.getElementById(\"captcha\").setAttribute(\"data-sitekey\",\"somekey\");"); } } But i am not getting any captcha in the browser window. I went though the rendered source and all the right google api’s needed for rendering the captcha are added. Please let me know if there is a workaround for this. And i dont want to use the existing captcha plugins as they are recaptcha 1.x based.