Now I can see the benefit of JSX in this scenario, because this code:
function printWorkOrder(item) {
var work_order = document.createElement("div");
work_order.classList.add("workorder");
work_order.setAttribute("data-ID", item.ID);
var item_title = document.createElement("div");
item_title.classList.add("title");
item_title.innerHTML = item.title;
var item_info = document.createElement("div");