Rename wait_for_js_signal