Fixed tabbing and jshint errors