You deleted code in camera.js that used the picture() function, but here you're deleting the video() function.
I think you should just delete the entire file, actually.