firePresence fixed

Now onPresence event returns $type: available or unavailable.