add client.js and medium.js