DEVSUPPORT-1090 - fix escape javascripts by substitute the character with html ascii