1 2 3 4 5
function newEl(name, Class) { ret = document.createElement(name); if (Class) ret.classList.add(Class); return ret; }