Update thread_ui_test.js