minor changes at ajax setting script.