another attempt at a phonegap app