Put server in debug mode so it reloads python code
Allow images in different formats
Can't upload an image with GET request so remove it
Added a bunch of legal file extensions
Pass scrubbed filename and decision to javascript via json