Hi Reshma,
You would have to recreate the widget in javascript. Here is some helpful documentation on how to create a custom widget.
https://docs.mendix.com/howto/custom-widget-development/
Hope this helps!
Edit: Refer to this on how to use a dll in mendix