simple JS functions collection for DOM manipulation