title: PhoneGap user defined native event
body: <p>PhoneGap has pre-defined event (deviceready, pause, resume, online, etc), and developer can add listener on it.</p>
  
  <p>is it possible to define my own event and fire from the <em>native</em> thread, then the js callback can be invoked?</p>
  
  <p>or is there any other way to asynchronously triger javascript functions?</p>