Upload images from ImgUr use HTML5 and Javascript