Started adding code to emulate a native app.

This material is drawn from reading the following blog entry:

  http://matt.might.net/articles/how-to-native-iphone-ipad-apps-in-javascript/