[refactor] bootstrap should depend to the emitter, not to the running
platform (changed as part of the attempt to support minification)