diff --git a/public_html/script.js b/public_html/script.js
index ce7bd99..c21115e 100644
--- a/public_html/script.js
+++ b/public_html/script.js
@@ -630,8 +630,10 @@ function refreshPageTitle() {
}
if (MessageRateInTitle) {
+ if(MessageRate != null) {
if (subtitle) subtitle += ' | ';
subtitle += MessageRate.toFixed(1) + '/s';
+ }
}
document.title = PageName + ' - ' + subtitle;