Add base component.js for elastic.io.