Flashlight in phonegap