Phonegap does not work well for changing pages, but the light box is now working. There appears to be some kind of performance issue