Add push

This Pull Request adds push messaging to the javascript SDK
Should we add a check to make sure that the users parameter is an array?