Ajax errors will display status code instead of script error