Fix display of HTTP error messages for code redemption

Started experiencing a JQuery error when redeeming codes and getting an error. Went ahead and fixed it.