diff --git a/web/document_attachments_view.js b/web/pdf_attachment_view.js
similarity index 100%
rename from web/document_attachments_view.js
rename to web/pdf_attachment_view.js
diff --git a/web/viewer.html b/web/viewer.html
index 1a6a406cb..f3c7ea0d9 100644
--- a/web/viewer.html
+++ b/web/viewer.html
@@ -76,7 +76,7 @@ http://sourceforge.net/adobe/cmap/wiki/License/
-
+
diff --git a/web/viewer.js b/web/viewer.js
index ac3a49079..85340c4d2 100644
--- a/web/viewer.js
+++ b/web/viewer.js
@@ -87,6 +87,7 @@ var mozL10n = document.mozL10n || document.webL10n;
//#include pdf_viewer.js
//#include pdf_thumbnail_viewer.js
//#include pdf_outline_view.js
+//#include pdf_attachment_view.js
var PDFViewerApplication = {
initialBookmark: document.location.hash.substring(1),
@@ -1392,8 +1393,6 @@ var PDFViewerApplication = {
window.PDFView = PDFViewerApplication; // obsolete name, using it as an alias
//#endif
-//#include document_attachments_view.js
-
//#if CHROME
//(function rewriteUrlClosure() {
// // Run this code outside DOMContentLoaded to make sure that the URL