organize directories, build tables with jquery.