Add some javascript for the captcha challenge page
Add cookiehash.cpp, still need to fix compiler warnings