Parse JS library as a component