facetwp reset button in elementor

<!--
Add elmentor button widget
Use link to #
Set class in advanced to .facetwp-reset-btn https://d.pr/i/b05YIM
Add following js, it can be added in an elementor html code widget (https://d.pr/i/Lat8Z4)
if you don't have a theme/plugin setting or custom code you are using
-->
<script>
    (function($) {
        $(document).on('click', '.facetwp-reset-btn', function(e) {
            e.preventDefault();
            FWP.reset();
        });
    })(jQuery);
</script>