Rendering an array on the dom