Added floating headers to the table
Abstracted the JS for the table view into a separate file