Moved assorted functions to util.js and made sortable headers have the
pointer cursor