Merge data into DOM using plain javascript and HTML