Fix discrepancy with the way jQuery does $.param(). Issue 850