fix javascript in testrun page