fixed issue #85 with the tablenav not working.  script for the js file needs to be in index.html.
put css into index as well to streamline table stuff into one file.