Added jsEscape() to Framework to escape special characters in JS.