Working to redraw columns in new order

Moved JavaScript to separate file.  Trying to return order or columns.