registered bgjoin domain
split main client.js to system.js, user.js, utils.js