moving episodes out of script.js and into temp episodes.js file. also moved them to databse