New changes to the DOM and javascript/map code