Strict fix

Make cookiejar compatible with strict mode.