Updating harness.html with better host detection