fixed  indentation and jshint error