Moving the table interactions (searching, sorting, tab switching) out of jungle.js and into it's own file - tableInteractions.js