Improved and faster nextepisode function, speeds up home page load times.