HTML tables built from js data