Fix response code and popup

I also removed maxcdn scripts.