add push android register and refactor js