A Javascript function to take a list, unordered or ordered, and set its list items to specified columns.