diff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.cs
index 07e363c4c..f81485867 100644
--- a/MediaBrowser.Controller/Entities/BaseItem.cs
+++ b/MediaBrowser.Controller/Entities/BaseItem.cs
@@ -1,5 +1,4 @@
-using System.Runtime.InteropServices;
-using MediaBrowser.Common.Extensions;
+using MediaBrowser.Common.Extensions;
using MediaBrowser.Controller.Configuration;
using MediaBrowser.Controller.IO;
using MediaBrowser.Controller.Library;
diff --git a/MediaBrowser.WebDashboard/Api/DashboardService.cs b/MediaBrowser.WebDashboard/Api/DashboardService.cs
index 0c88ff0c0..f0d01f420 100644
--- a/MediaBrowser.WebDashboard/Api/DashboardService.cs
+++ b/MediaBrowser.WebDashboard/Api/DashboardService.cs
@@ -414,6 +414,11 @@ namespace MediaBrowser.WebDashboard.Api
/// System.String.
private static string GetCommonJavascript(Version version)
{
+ var builder = new StringBuilder();
+
+ builder.Append("");
+
var versionString = "?v=" + version;
var files = new[]
@@ -426,7 +431,9 @@ namespace MediaBrowser.WebDashboard.Api
var tags = files.Select(s => string.Format("", s)).ToArray();
- return string.Join(string.Empty, tags);
+ builder.Append(string.Join(string.Empty, tags));
+
+ return builder.ToString();
}
///