Changed work with captcha. Removed js crutch.