add theme, locale, ajax json, ajax xml function