First phonegap attempt