ajax for mobile or modern browser