Added base to the index.js.