this was throwing errors in phonegap

Signed-off-by: William Rockwood <wrockwood@tadl.org>