use DOM operate instead of string in function.message.js