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