fixed couple of minor issues.

- stupid spelling mistakes
- jshint mostly happy but not fully.
- removes console.loggy things.