Use Ext.encode instead of JSON.stringify to avoid IE error.
Authored by: SeanZ 2012-11-02
Parent: [r6467]
Child: [r6469]