Issue #1252 postJson is truncating large values in Google Chrome

Fix for #1252.

Can't change type in older IEs without it throwing. One alternative solution would be to:

```javascript
try {
    input.type = 'hidden';
} catch (e) {
    /* ignore */
}
```

IE do not suffer from the truncation issue that GC does so the end result would be the same.