Wrap base.js content in anonymous function
Chapter 24