add client.js, add client view