increased timeout for javascript infinite loop and changed kill command