fix jshint and indentation