Quick update - I've just had a look at the source that Joomla throws out - the admin menu's javascript in a table, yuk! Drupal source on the other hand is beautiful (well, could do with blank lines and indents, but hey that doesn't affect how it's parsed!