table sort css; moved analytics to js