Index: dart_tag.inc
===================================================================
--- dart_tag.inc	(revision 28231)
+++ dart_tag.inc	(working copy)
@@ -218,10 +218,11 @@
       }
       switch ($key) {
         case 'tile':
-          $keyvals .= $key . '|tile++|eval' . "\n" . $keyvals;
+          $keyvals .= "\n" . $key . '|Drupal.DART.tile++|eval';
           break;
       }
     }
+
     return $this->key_vals($keyvals);
   }
 
Index: dart.module
===================================================================
--- dart.module	(revision 28231)
+++ dart.module	(working copy)
@@ -205,7 +205,8 @@
 
   // Grab page variables and format them.
   $page_vars = dart_get_page_vars();
-  if (count($page_vars)) {
+
+  if (!empty($page_vars)) {
     foreach ($page_vars as $key => $val) {
       $inline_js .= 'Drupal.DART.' . $key . ' = ' . ($key == "ord" ? $val : drupal_to_js($val)) . ';' . "\n";
     }
@@ -385,6 +386,5 @@
     }
 
   }
-
   return $vars;
 }
