Port of the recaptchalib to the new api format