Phonegap QR code scanning