Added AJAX to EnvController