Messing about with Phone Gap