move widget into its own app: https://stackoverflow.com/questions/37239731/writing-embeddable-javascript-plugin-with-react-webpack