While I'm thinking on this, should we be escaping strings with double or single quotes?  We seem to do both in the mobile code path.