Added django cors to middleware classes.
Cors is finally working, removed json callback