add batch.js & client.js