Add basic CAPTCHA JS support

This is accomplished by retrieving a CAPTCHA key from /api/key.