WIP: Switch to JSX for widgets