updated htmlEscape function