sync javascript api with lib-xpush-web