Use the htmlencode-module to encode in nodejs