change onLoad in movieplayer.js to document.ready