Fix indent issue and jshint problems