diff --git a/make.js b/make.js
index 72f0f3fc0..bb36b4722 100644
--- a/make.js
+++ b/make.js
@@ -606,8 +606,9 @@ target.singlefile = function() {
 function stripCommentHeaders(content, filename) {
   var notEndOfComment = '(?:[^*]|\\*(?!/))+';
   var reg = new RegExp(
-    '\n(?:/\\*' + notEndOfComment + '\\*/\\s*|//(?!#).*\n\\s*)+' +
-    '\'use strict\';', 'g');
+    '\n/\\* Copyright' + notEndOfComment + '\\*/\\s*' +
+    '(?:/\\*' + notEndOfComment + '\\*/\\s*|//(?!#).*\n\\s*)*' +
+    '\\s*\'use strict\';', 'g');
   content = content.replace(reg, '');
   return content;
 }
diff --git a/src/core/bidi.js b/src/core/bidi.js
index 0a347d3fc..6bd64b274 100644
--- a/src/core/bidi.js
+++ b/src/core/bidi.js
@@ -1,4 +1,3 @@
-/* globals PDFJS */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -13,6 +12,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+/* globals PDFJS */
 
 'use strict';
 
diff --git a/src/display/metadata.js b/src/display/metadata.js
index 148d6c7df..1adf72fb4 100644
--- a/src/display/metadata.js
+++ b/src/display/metadata.js
@@ -1,4 +1,3 @@
-/* globals Document, error, PDFJS */
 /* Copyright 2012 Mozilla Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -13,6 +12,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+/* globals Document, error, PDFJS */
 
 'use strict';