Changed the js function to set the id of each div in the grid with the value of the clip's id.