[utils] Fix style of the function definition of escapeHTML()

Follow the style of arround code.

var function = escapeHTML() ->
function escapeHTML()
[client][utils][test] Fix indent