Fixed broken complete callback when invoked via jQuery .parse() method

The prior code checked the wrong location to pull in the user-defined
complete callback