Update component.js and outcomment unused options