removed dumb rotated header
moved js to template with tables