Fixed ajax problem in chrome