Escape Characters in a JavaScript String: an Example to Follow