Updates the component lib to use commonJS style of code