ajax fix for chrome