Changes regarding recording of video using scriptcam.js