Phonegap supporting global event params