more changes to /media and play.js. probably fudged things up