Looked for trouble spots with JSHint

[JSHint](http://jshint.com/) is a nice little tool for looking for potential sources of bugs in JavaScript code. I ran `jshint .` to look for things to improve on. There were a few warnings in the generated code files, but I was able to hide them all by including a `.jshintignore`. I'm happy to report that your code passes the current version of JSHint 100%, with no warnings whatsoever!