Fixed wait time in client.js. You now set a measurement interval (in ms) instead of a wait time (in ms).