Javascript Component Driven Framework