HTML/JS TCP Client: Fix JS errors.