attempt to use phonegap calls from jQuery mobile events