Compatible to Apache Cordova 3.3 for events package.