Fix reserved keyword issue
Fix reserved keyword issue

`class` is a reserved keyword. Noticed it when trying to compile with Google's closure compiler.

https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Reserved_Words
caolan/pithy,jmptrader/pithy