diff --git l10n_client.js l10n_client.js
index 12d9a0f..ac8533a 100644
--- l10n_client.js
+++ l10n_client.js
@@ -13,7 +13,7 @@ Drupal.l10nClient = {
     switch(pressed) {
       case 'toggle':
         // Grab user-hilighted text & send it into the search filter
-        userSelection = window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text;
+        var userSelection = window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text;
         userSelection = String(userSelection);
         if(userSelection.length > 0) {
           Drupal.l10nClient.filter(userSelection);
