Fixes object is undefined during request, causing unable to automatically parse form object using jQuery.serialize().

Signed-off-by: crynobone <crynobone@gmail.com>