Ajax issue firefox

This fix the new post in firefox.