[#1673] jsAction: add option to escape values

Add some options to be able to escape values.