Working captcha code - jquery and PHP