Line endings?
Removed unused var (thanks jshint)
Better jshint configuration