Only expose globals if they are in use in the PaperScript code.