Updated to use JSON call, new image upload functions
Removed uploadDropFn