#361 move masterserver ajax out of settings.php