refactored Monitor methods
Merge branch 'master' of github.com:pryv/lib-javascript