NEW - bug 210: Babel or Babel-like Community Internationalization
https://foundation.eclipse.org/infrazilla/show_bug.cgi?id=210
diff --git a/html/callback/getLanguages.php b/html/callback/getLanguages.php
index 5eedaa9..1f07491 100644
--- a/html/callback/getLanguages.php
+++ b/html/callback/getLanguages.php
@@ -29,8 +29,4 @@
 print json_encode($return);
 exit();
 
-?>
-
-<ul id='language-choices'>
-	<?=$return;?>
-</ul>
\ No newline at end of file
+?>
\ No newline at end of file
diff --git a/html/js/language.js b/html/js/language.js
index 9c72fe1..7f9ee5b 100644
--- a/html/js/language.js
+++ b/html/js/language.js
@@ -18,6 +18,9 @@
 			start:function(eventType, args){ 
 			},
 			success: function(o) {
+				if(!o.responseText){
+					return false;
+				}
 				var response = eval("("+o.responseText+")");
 				var domNode = document.getElementById('language-area');
 				YAHOO.log(o.responseText);