Bind data to html elements