Refactored out-of-the-box "theme.js" a little.