Fixed jshint issues

  - re-declared "setClass" variable
  - missing semicolon
Merge pull request #6 from sqren/patch-1

Fixed jshint issues