Instead of an alert() with just the status code, give the 413 a body and display it in the HTML.
Activity