They should do HTML / CSS / JavaScript. Also, the JavaScript should align with the framework of the clients / product - Angular, React, not necessarily jQuery or Bootstrap. Whatever UX designers do, it should be shippable code.
Some of the designs which they think of without knowledge of HTML, CSS, and JavaScript may not be worthy of implementation. It might take too much of effort or can hit performance, especially load times of the page.