Bulletproof Ajax