Use output-wrapper when building api.js to prevent name clashes