Researched into transpiling scripts.
Translated my JS to JSX.
Refactored the items.