Build HTML in JS to save time sending data