Fix ajax options issue