Example of using status codes with jQuery ajax