adding data to html elements