Jotform crashes upon submission in Phonegap app