first completion of client.js simulator