getting app title in server to avoid CORS or html parsing errors