diff --git a/src/sbbs3/js_uifc.c b/src/sbbs3/js_uifc.c
index 55c128ee7ad81e19c25ae34a49d8728e6487f810..a67c5c5a82038e9bd1dd20ec20d8f6518102ec38 100644
--- a/src/sbbs3/js_uifc.c
+++ b/src/sbbs3/js_uifc.c
@@ -439,10 +439,16 @@ js_uifc_init(JSContext *cx, uintN argc, jsval *arglist)
 				ciolib_mode=CIOLIB_MODE_AUTO;
 			else if(!stricmp(mode,"X"))
 				ciolib_mode=CIOLIB_MODE_X;
+			else if(!stricmp(mode,"CURSES"))
+				ciolib_mode=CIOLIB_MODE_CURSES;
 			else if(!stricmp(mode,"ANSI"))
 				ciolib_mode=CIOLIB_MODE_ANSI;
 			else if(!stricmp(mode,"CONIO"))
 				ciolib_mode=CIOLIB_MODE_CONIO;
+			else if(!stricmp(mode,"SDL"))
+				ciolib_mode=CIOLIB_MODE_SDL;
+			else if(!stricmp(mode,"OVERLAY"))
+				ciolib_mode=CIOLIB_MODE_SDL_YUV;
 		}
 	}
 
@@ -764,8 +770,9 @@ js_finalize(JSContext *cx, JSObject *obj)
 }
 
 static jsSyncMethodSpec js_functions[] = {
-	{"init",            js_uifc_init,       1,	JSTYPE_BOOLEAN,	JSDOCSTR("string title, [number mode]")
-	,JSDOCSTR("initialize")
+	{"init",            js_uifc_init,       1,	JSTYPE_BOOLEAN,	JSDOCSTR("string title [, string mode]")
+	,JSDOCSTR("initialize.  <tt>mode</tt> is a string representing the desired conio mode... one of STDIO, AUTO, "
+	"X, CURSES, ANSI, CONIO, SDL, or OVERLAY.")
 	,314
 	},		
 	{"bail",			js_uifc_bail,		0,	JSTYPE_VOID,	JSDOCSTR("")