Refactor to place all ajax calls in the UserPreferenceServer.js file. Update UserPreference.ViewModel.js and UserPreferenceSettings.js to use the searchserver variable for ajax.