style corrections (fixed header, columns different height). template fixes, javascript move out from template