incorrect variable name in the smiley helper js
diff --git a/system/helpers/smiley_helper.php b/system/helpers/smiley_helper.php
index f085e53..ab1f2c2 100644
--- a/system/helpers/smiley_helper.php
+++ b/system/helpers/smiley_helper.php
@@ -93,7 +93,7 @@
 						el.setSelectionRange(newStart, newStart);
 					}
 					else if (document.selection) {
-						document.selection.createRange().text = text;
+						document.selection.createRange().text = smiley;
 					}
 				}
 EOF;