Oops, fix for "Uncaught ReferenceError: str is not defined".