modified the example apps to allow for the difference in adding and removing event listeners across platforms; added note in the docs.