Typo fix
Cleaned this really old/bad JS code a bit.  Still not ideal
A bit more clean up
Fix
Fixed issue with CSRF token in ajax posts requests.  Also fixed issue with django view upload deletion.