diff --git cufon.module cufon.module
index a8caeca..7fb6725 100644
--- cufon.module
+++ cufon.module
@@ -2,7 +2,7 @@
 // $Id: cufon.module,v 1.6 2009/08/26 21:33:54 eads Exp $
 /**
  * @file
- * Adds simple Cufón support to Drupal. 
+ * Adds simple Cufón support to Drupal.
  *
  * Please read README.txt for installation and configuration instructions.
  */
@@ -25,6 +25,11 @@ function cufon_init() {
   }
   drupal_add_js($js .'/cufon-yui.js', 'module');
   drupal_add_js($js .'/cufon-drupal.js', 'module', 'footer');
+
+  // get the selectors from variables and add them to drupal settings js
+  // we can do it safetly in hook_init
+  $selectors = variable_get('cufon_selectors', array());
+  drupal_add_js(array('cufonSelectors' => $selectors), 'setting');
 }
 
 /**
@@ -47,7 +52,7 @@ function cufon_menu() {
  * _cufon_discover_fonts().
  *
  * Discover fonts according to the simple algorithm laid out at the top of
- * this file.  
+ * this file.
  */
 function _cufon_discover_fonts() {
   $fonts = array();
@@ -67,7 +72,7 @@ function _cufon_discover_fonts() {
 /**
  * _cufon_resolve_font_familes().
  *
- * Takes a list of files, such as the one returned by file_scan_directory, and 
+ * Takes a list of files, such as the one returned by file_scan_directory, and
  * returns an array of font file -> font family name values.
  */
 function _cufon_get_font_family($filename) {
@@ -97,7 +102,7 @@ function _cufon_get_font_family($filename) {
  * Implementation of template_preprocess_page().
  *
  * We can't call _cufon_discover_fonts from hook_init, lest we run the risk of
- * improperly resolving the theme path.  To get around this, we add the 
+ * improperly resolving the theme path.  To get around this, we add the
  * Javascript settings to the page preprocessor and re-render the 'scripts'
  * variable.
  */
@@ -105,9 +110,6 @@ function cufon_preprocess_page(&$vars) {
   foreach (_cufon_discover_fonts() as $filename => $name) {
     drupal_add_js($filename, 'module');
   }
-  $selectors = variable_get('cufon_selectors', array());
-  drupal_add_js(array('cufonSelectors' => $selectors), 'setting');
 
   $vars['scripts'] = drupal_get_js();
-  $vars['closure'] = theme('closure'); 
 }
