Phonegap plugin volume detection