Added post failure callback to jQuery post of data.