possible fix for escaping of quotes around string 

There should a more eloquent way of doing this but by  doing the escaping before adding the string quotes prevents the string quotes from accidentally getting escaped creating a syntax error in the output code.
Merge pull request #23 from thinkstylestudio/patch-1

possible fix for escaping of quotes around string