added time for different the different actions in loadtester.js
fixed some issues in client.js