tables, javascript, and lots of minutes. table stuff