working through the phonegap tutorial