Simple javascript client idle control.