Make `stripCommentHeaders` less greedy, to ensure that it doesn't eat 'use strict' directive at the top of files (PR 6627 follow-up)
Make `stripCommentHeaders` less greedy, to ensure that it doesn't eat 'use strict' directive at the top of files (PR 6627 follow-up)

While browsing through the latest PDF.js update on mozilla-central, see https://hg.mozilla.org/integration/fx-team/rev/aef06cd725fc, I noticed that the `'use strict';` directives were missing at the top of a number of files.
This is fallout from the changes made in `make.js` in PR 6627, since `stripCommentHeaders` previously relied on the existence of the mode-lines.

I'm assuming that we do want *all* of the code (e.g. the viewer too) to execute in strict mode, hence this patch tweaks `stripCommentHeaders` to make it less greedy.

mozilla/pdf.js,joelkuiper/pdf.js,yurydelendik/pdf.js,caremerge/pdf.js,a0preetham/pdf.js,Snuffleupagus/pdf.js,mysterlune/pdf.js,mysterlune/pdf.js,Rob--W/pdf.js,Rob--W/pdf.js,mukulmishra18/pdf.js,tinderboxhq/pdf.js,gigaga/pdf.js,nirdoshyadav/pdf.js,nirdoshyadav/pdf.js,brendandahl/pdf.js,EvilTrev/pdf.js,1and1/pdf.js,MASmedios/pdf.js,tathata/pdf.js,fkaelberer/pdf.js,jazzy-em/pdf.js,showpad/mozilla-pdf.js,joelkuiper/pdf.js,timvandermeij/pdf.js,EvilTrev/pdf.js,WhitesteinTechnologies/wt-vaadin-pdf.js,brendandahl/pdf.js,ydfzgyj/pdf.js,fkaelberer/pdf.js,drosi94/pdf.js,WhitesteinTechnologies/wt-vaadin-pdf.js,datalanche/pdf.js,xavier114fch/pdf.js,gigaga/pdf.js,iamkhush/pdf.js,skalnik/pdf.js,nawawi/pdf.js,Shoobx/pdf.js,jazzy-em/pdf.js,anoopelias/pdf.js,Shoobx/pdf.js,timvandermeij/pdf.js,mozilla/pdf.js,bh213/pdf.js,Snuffleupagus/pdf.js,MASmedios/pdf.js,joelkuiper/pdf.js,adlerweb/pdf.js-Touch,macroplant/pdf.js,dsprenkels/pdf.js,MASmedios/pdf.js,tinderboxhq/pdf.js,caremerge/pdf.js,websirnik/pdf.js,1and1/pdf.js,websirnik/pdf.js,mukulmishra18/pdf.js,a0preetham/pdf.js,joelkuiper/pdf.js,drosi94/pdf.js,joelkuiper/pdf.js,jasonjensen/pdf.js,nawawi/pdf.js,MultivitaminLLC/pdf.js,yurydelendik/pdf.js,MASmedios/pdf.js,thepulkitagarwal/pdf.js,KamiHQ/pdf.js,mainegreen/pdf.js,iamkhush/pdf.js,xavier114fch/pdf.js,thepulkitagarwal/pdf.js,macroplant/pdf.js,Snuffleupagus/pdf.js,showpad/mozilla-pdf.js,macroplant/pdf.js,adlerweb/pdf.js-Touch,Shoobx/pdf.js,ydfzgyj/pdf.js,MultivitaminLLC/pdf.js,datalanche/pdf.js,anoopelias/pdf.js,tathata/pdf.js,MASmedios/pdf.js,mainegreen/pdf.js,showpad/mozilla-pdf.js,timvandermeij/pdf.js,jasonjensen/pdf.js,dsprenkels/pdf.js,skalnik/pdf.js,bh213/pdf.js,nawawi/pdf.js,KamiHQ/pdf.js,mozilla/pdf.js