Hi, After I had a short look at your app.js file, it was clear what your problem is: It looks that you mixed code snippets from different applications.
Insode your onDeviceReady function, for the isDeviceSupported funciton, you should use functions that are actually defined in the rest of your code.
mhd mouallem