Adding node.js functions to download image from the camera.