added DOM/js example