diff --git a/xtrn/chat_pager/lib.js b/xtrn/chat_pager/lib.js
index 0aa3a5a5b96d0b81260d87240a3c8c0612a24ff8..0436894bebe0bacd9fccf95dc9ee05d4df376e6e 100644
--- a/xtrn/chat_pager/lib.js
+++ b/xtrn/chat_pager/lib.js
@@ -20,6 +20,16 @@ function load_settings(fp) {
     return ret;
 }
 
+// Flush any existing named values (valname) and return the last one
+// (I haven't checked yet, but I assume Queue is FIFO)
+function get_last_queued_value(queue, valname) {
+    var val, temp_val;
+    while (typeof (temp_val = queue.read(valname)) !== 'undefined') {
+        val = temp_val;
+    }
+    return val;
+}
+
 function user_online(n) {
 	return (
 		system.node_list[n].status == 3 || system.node_list[n].status == 4
diff --git a/xtrn/chat_pager/page_sysop.js b/xtrn/chat_pager/page_sysop.js
index 15edd0d548836843f4df6a0d78d9d160d5dee4c9..6538df15066ac93dfbcc2284fded6b1234d70a8f 100644
--- a/xtrn/chat_pager/page_sysop.js
+++ b/xtrn/chat_pager/page_sysop.js
@@ -3,16 +3,6 @@ load('frame.js');
 load('progress-bar.js');
 load(js.exec_dir + 'lib.js');
 
-// Flush any existing named values (valname) and return the last one
-// (I haven't checked yet, but I assume Queue is FIFO)
-function get_last_queued_value(queue, valname) {
-    var val, temp_val;
-    while (typeof (temp_val = queue.read(valname)) !== 'undefined') {
-        val = temp_val;
-    }
-    return val;
-}
-
 function get_node_response_time(filename) {
     return (file_exists(filename) ? file_date(filename) : null);
 }