Final tuning, added totalTimeout, waiting locks for javascript computation