Updated app server with the same CORS solution with other servers.
Minor formatting fixes.