Modified simple example according to new push api
Merge pull request #185 from acperez/mozAPI

Modified simple example according to new push api