Made changes to Episodes page javascript.