Major bugs in forefox due to CORS