javascript to add images to tournament icon dropdowns