Google Closure tries to minify the string with: ""object"!==typeof contentManifest&&(contentManifest={});" which causes error that contentManifest is not defined. The better way to define global variable is to use window['contentManifest'].