Move JavaScript to its own file, also add ability to filter individual columns.