fixed the javascript after the removal of the id of the video element