trying to upload to imgur's api using js