bugfix build-graph & assemble to work with Closure compiler's advanced
optimazations, update example