Just to clarify, quotes are used within JavaScript to represent a static value. So, if you are writing JavaScript, and calling Code Wizard functions, then you would need to quote a static value.
However, if you are dealing with a field that is in the UI, the value won't be quoted.
Here is an example of setting an unquoted value in the String field, and how that gets quoted in the generated JavaScript code.
