REST style image upload API component works. Now I need some JS to upload to it.