Puts loop in to create buttons based on js