Media uploads working!!!

Using the JS Client Library in the background for CORS requests