Just a note, if you're using the - character in a variable name, it will only work in instances like this:
PHP Code:
this.(@"foo-bar") = "baz";
not this:
PHP Code:
this.foo-bar = "baz";
- and other reserved characters are not valid in variable names, but GS2 will compensate for this when using (@"variable-name").