polish GenerateLabtalkFunctionsHTML