converts html entities using node.js ent module