I am designing an ASP.NET MVC based SPA. The other parts are working fine, however the following is giving a 504 error. I have alerts added to the JavaScript to see how far