Fix preprocessData callback bug and wrong $.isPlainObject method name