small DOM js-tools