removed some experimental code from doremi.js and put it in doremi_component.js