Use this simple tool to convert any multiline string into a valid JavaScript string. This was created by Chris West.