Fix StatusCode Option and some refactorin'

The statusCode option passed should now be properly handled.  Still need
to follow up to make sure what I'm doing with jqXHR.statusCode is a safe
bet.

Refactor the main logic a bit to DRY it out