Building a photo app with Parse and function.js