removed alot of repatition from the tables.
added our awesome table javascript stuff.