Fix unused function.
Fix web testing script.