Trynig to fire phonegap events