title: push notification using Onesignal error
body: <p>while trying to create a push Notification using GCM Per device or a group of devices - we are trying to use Onesignal for registration of our android users and getting an undefined error.
  the code is written on JS and then build using Phonegap and realesed as an APK for android, while debugging it we get "windwos.onesignal undefined"
  any lead or help would be appriciated
  Thank you
  (can't post the Chrome debugger message rep 10 is requered :-) )</p>