photo uploading app in nails.js