remove detail code in testjs