update the client.js can run client node in shell, not in browser.