Clean up and refactor tvshows/app.js
Clean up the rest of the TV show backend.