Make use of Context.Update()
Added escape sequence to escapejs-filter.