Finalize newly refactor ajax component with support for multiple status code function handlers + error function handlers