working through http://coenraets.org/blog/phonegap-tutorial/