Added DOM stuff for array-element