a simple image upload and processing module in node.js