(function($) {
Append charset to each ajax request that doesn't already have it
(function($) {
Extend jQuery to include a serializeObject function which uses $.serializeArray to serialize the form and then creates an object from that array http://stackoverflow.com/questions/1184624/serialize-form-to-json-with-jquery
jQuery.ajaxSetup({
Make caching the default behavior for $.getScript
jQuery.ajaxSettings.traditional = true;
Make sure that arrays passed in as arguments are properly encoded