code: function main() {
  
      // Triggering countermeasures
      artoo.emit('countermeasures');
  
      // Welcoming user
      if (artoo.settings.log.welcome)
        artoo.log.welcome();
  
      // Should we greet the user with a joyful beep?
      var beeping = artoo.settings.log.beeping;
      if (beeping)
        artoo.beep.greet();
  
      // Indicating we are injecting artoo from the chrome extension
      if (artoo.browser.chromeExtension)
        artoo.log.verbose('artoo has automatically been injected ' +
                          'by the chrome extension.');
  
      // If in phantom, dependencies are loaded synchronously
      if (artoo.browser.phantomjs) {
        artoo.$ = window.artooPhantomJQuery;
        delete window.artooPhantomJQuery;
        artoo.jquery.applyPlugins();
        return artoo.emit('ready');
      }
  
  
      // Injecting dependencies
      function injectJquery(cb) {
        artoo.jquery.inject(function() {
  
          // Applying jQuery plugins
          artoo.jquery.applyPlugins();
  
          cb();
        });
      }
  
      artoo.helpers.parallel(
        [injectJquery, artoo.deps._inject],
        function() {
          artoo.log.info('artoo is now good to go!');
  
          // Triggering exec
          if (artoo.settings.autoExec)
            artoo.exec();
  
          // Triggering ready
          artoo.emit('ready');
        }
      );
  
      // Updating artoo state
      artoo.loaded = true;
    }
docs: Initialization function