You can use modules for this, basically you would have a "common"
module, and then each page would depend on this common module. Then on
each page, you would load common.js and pageN.js. All the shared
dependencies would be moved into the common.js (which could be cached
across pages), while the per-page specific logic would end up in
pageN.js. Not sure how easy closurebuilder.py makes this, but it's
definitely fairly easy to do with plovr.
Of course, depending on how much page-specific logic there is, it
might be easier to just compile it all into one file and export
functions like "page1Init()" and so on.