AJAXify the settings retrieval