Change heartbeat timeout;  make sure i is removed from js payload