public async Task <HttpResponseMessage> GetScript(string path = "") { var response = new HttpResponseMessage { Content = new StringContent(await _sourceControl.GetJavascriptOfDebugPath(Config.ScriptDebugPath + path), Encoding.UTF8, "application/javascript") }; response.Content.Headers.ContentType = new MediaTypeHeaderValue("application/javascript"); return(response); }