html DOM object creator